<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::Batch&lt; shark::blas::compressed_vector&lt; T &gt; &gt; Struct Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html">Batch&lt; shark::blas::compressed_vector&lt; T &gt; &gt;</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::Batch&lt; shark::blas::compressed_vector&lt; T &gt; &gt; Struct Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>specialization for ublas compressed vectors which are compressed matrices in batch mode!  
 <a href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_batch_interface_8h_source.html">shark/Data/BatchInterface.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ab069b3c0404e1bd4b788bca5499d1d75" id="r_ab069b3c0404e1bd4b788bca5499d1d75"><td class="memItemLeft" align="right" valign="top">typedef detail::MatrixRowReference&lt; type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#ab069b3c0404e1bd4b788bca5499d1d75">reference</a></td></tr>
<tr class="memdesc:ab069b3c0404e1bd4b788bca5499d1d75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of a single element.  <br /></td></tr>
<tr class="separator:ab069b3c0404e1bd4b788bca5499d1d75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04c9f2152498be58f2dc1aa768959272" id="r_a04c9f2152498be58f2dc1aa768959272"><td class="memItemLeft" align="right" valign="top">typedef detail::MatrixRowReference&lt; const type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a04c9f2152498be58f2dc1aa768959272">const_reference</a></td></tr>
<tr class="memdesc:a04c9f2152498be58f2dc1aa768959272"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of a single immutable element.  <br /></td></tr>
<tr class="separator:a04c9f2152498be58f2dc1aa768959272"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2238b5dc7eb55874595b6b39f8113ebe" id="r_a2238b5dc7eb55874595b6b39f8113ebe"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_proxy_iterator.html">ProxyIterator</a>&lt; type, value_type, <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#ab069b3c0404e1bd4b788bca5499d1d75">reference</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a2238b5dc7eb55874595b6b39f8113ebe">iterator</a></td></tr>
<tr class="memdesc:a2238b5dc7eb55874595b6b39f8113ebe"><td class="mdescLeft">&#160;</td><td class="mdescRight">the iterator type of the object  <br /></td></tr>
<tr class="separator:a2238b5dc7eb55874595b6b39f8113ebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11d56a8c9892dc085a4b25de9130e1f4" id="r_a11d56a8c9892dc085a4b25de9130e1f4"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_proxy_iterator.html">ProxyIterator</a>&lt; const type, value_type, <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a04c9f2152498be58f2dc1aa768959272">const_reference</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a11d56a8c9892dc085a4b25de9130e1f4">const_iterator</a></td></tr>
<tr class="memdesc:a11d56a8c9892dc085a4b25de9130e1f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">the const_iterator type of the object  <br /></td></tr>
<tr class="separator:a11d56a8c9892dc085a4b25de9130e1f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7d807af16dbda22f9fa7efa6a8222843" id="r_a7d807af16dbda22f9fa7efa6a8222843"><td class="memTemplParams" colspan="2">template&lt;class Element &gt; </td></tr>
<tr class="memitem:a7d807af16dbda22f9fa7efa6a8222843"><td class="memTemplItemLeft" align="right" valign="top">static type&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a7d807af16dbda22f9fa7efa6a8222843">createBatch</a> (Element const &amp;input, std::size_t <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a5908c852091e5f4844e0ed06f359df1a">size</a>=1)</td></tr>
<tr class="memdesc:a7d807af16dbda22f9fa7efa6a8222843"><td class="mdescLeft">&#160;</td><td class="mdescRight">creates a batch with input as size blueprint  <br /></td></tr>
<tr class="separator:a7d807af16dbda22f9fa7efa6a8222843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eab4ea5b33cefa429ba70a9dc852eb5" id="r_a5eab4ea5b33cefa429ba70a9dc852eb5"><td class="memTemplParams" colspan="2">template&lt;class Iterator &gt; </td></tr>
<tr class="memitem:a5eab4ea5b33cefa429ba70a9dc852eb5"><td class="memTemplItemLeft" align="right" valign="top">static type&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a5eab4ea5b33cefa429ba70a9dc852eb5">createBatchFromRange</a> (Iterator const &amp;start, Iterator const &amp;<a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a3340fbee83054604e4198016d971bfd3">end</a>)</td></tr>
<tr class="memdesc:a5eab4ea5b33cefa429ba70a9dc852eb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">creates a batch storing the elements referenced by the provided range  <br /></td></tr>
<tr class="separator:a5eab4ea5b33cefa429ba70a9dc852eb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a818fad0d1a5ebeee0dd3d86c98bb21e0" id="r_a818fad0d1a5ebeee0dd3d86c98bb21e0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a818fad0d1a5ebeee0dd3d86c98bb21e0">resize</a> (type &amp;batch, std::size_t <a class="el" href="namespaceshark.html#af2ab10364feb8a631e0866dcf2f1a4ad">batchSize</a>, std::size_t elements)</td></tr>
<tr class="separator:a818fad0d1a5ebeee0dd3d86c98bb21e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5908c852091e5f4844e0ed06f359df1a" id="r_a5908c852091e5f4844e0ed06f359df1a"><td class="memItemLeft" align="right" valign="top">static std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a5908c852091e5f4844e0ed06f359df1a">size</a> (type const &amp;batch)</td></tr>
<tr class="separator:a5908c852091e5f4844e0ed06f359df1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c3920e1aeac4e38b148f8b9d4aaea3c" id="r_a2c3920e1aeac4e38b148f8b9d4aaea3c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#ab069b3c0404e1bd4b788bca5499d1d75">reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a2c3920e1aeac4e38b148f8b9d4aaea3c">get</a> (type &amp;batch, std::size_t i)</td></tr>
<tr class="separator:a2c3920e1aeac4e38b148f8b9d4aaea3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ddf9dbc1210cda59d8e41f8699a9170" id="r_a3ddf9dbc1210cda59d8e41f8699a9170"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a04c9f2152498be58f2dc1aa768959272">const_reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a3ddf9dbc1210cda59d8e41f8699a9170">get</a> (type const &amp;batch, std::size_t i)</td></tr>
<tr class="separator:a3ddf9dbc1210cda59d8e41f8699a9170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e061f102977183d90c6da291ab7fcd0" id="r_a8e061f102977183d90c6da291ab7fcd0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a2238b5dc7eb55874595b6b39f8113ebe">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a8e061f102977183d90c6da291ab7fcd0">begin</a> (type &amp;batch)</td></tr>
<tr class="separator:a8e061f102977183d90c6da291ab7fcd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c1fae3f822d4b22206f9db24b46836d" id="r_a4c1fae3f822d4b22206f9db24b46836d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a11d56a8c9892dc085a4b25de9130e1f4">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a4c1fae3f822d4b22206f9db24b46836d">begin</a> (type const &amp;batch)</td></tr>
<tr class="separator:a4c1fae3f822d4b22206f9db24b46836d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3340fbee83054604e4198016d971bfd3" id="r_a3340fbee83054604e4198016d971bfd3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a2238b5dc7eb55874595b6b39f8113ebe">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a3340fbee83054604e4198016d971bfd3">end</a> (type &amp;batch)</td></tr>
<tr class="separator:a3340fbee83054604e4198016d971bfd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba7ec77d468b6f7ace4a4312acab857d" id="r_aba7ec77d468b6f7ace4a4312acab857d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a11d56a8c9892dc085a4b25de9130e1f4">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#aba7ec77d468b6f7ace4a4312acab857d">end</a> (type const &amp;batch)</td></tr>
<tr class="separator:aba7ec77d468b6f7ace4a4312acab857d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class T&gt;<br />
struct shark::Batch&lt; shark::blas::compressed_vector&lt; T &gt; &gt;</div><p>specialization for ublas compressed vectors which are compressed matrices in batch mode! </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00252">252</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a11d56a8c9892dc085a4b25de9130e1f4" name="a11d56a8c9892dc085a4b25de9130e1f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11d56a8c9892dc085a4b25de9130e1f4">&#9670;&#160;</a></span>const_iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_proxy_iterator.html">ProxyIterator</a>&lt;const type, value_type, <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a04c9f2152498be58f2dc1aa768959272">const_reference</a> &gt; <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::const_iterator</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the const_iterator type of the object </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00269">269</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a04c9f2152498be58f2dc1aa768959272" name="a04c9f2152498be58f2dc1aa768959272"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04c9f2152498be58f2dc1aa768959272">&#9670;&#160;</a></span>const_reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef detail::MatrixRowReference&lt;const type&gt; <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::const_reference</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of a single immutable element. </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00263">263</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a2238b5dc7eb55874595b6b39f8113ebe" name="a2238b5dc7eb55874595b6b39f8113ebe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2238b5dc7eb55874595b6b39f8113ebe">&#9670;&#160;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_proxy_iterator.html">ProxyIterator</a>&lt;type, value_type, <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#ab069b3c0404e1bd4b788bca5499d1d75">reference</a> &gt; <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::iterator</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the iterator type of the object </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00267">267</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="ab069b3c0404e1bd4b788bca5499d1d75" name="ab069b3c0404e1bd4b788bca5499d1d75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab069b3c0404e1bd4b788bca5499d1d75">&#9670;&#160;</a></span>reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef detail::MatrixRowReference&lt;type&gt; <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::reference</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of a single element. </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00261">261</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8e061f102977183d90c6da291ab7fcd0" name="a8e061f102977183d90c6da291ab7fcd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e061f102977183d90c6da291ab7fcd0">&#9670;&#160;</a></span>begin() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a2238b5dc7eb55874595b6b39f8113ebe">iterator</a> <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::begin </td>
          <td>(</td>
          <td class="paramtype">type &amp;&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00312">312</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a4c1fae3f822d4b22206f9db24b46836d" name="a4c1fae3f822d4b22206f9db24b46836d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c1fae3f822d4b22206f9db24b46836d">&#9670;&#160;</a></span>begin() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a11d56a8c9892dc085a4b25de9130e1f4">const_iterator</a> <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::begin </td>
          <td>(</td>
          <td class="paramtype">type const &amp;&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00315">315</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a7d807af16dbda22f9fa7efa6a8222843" name="a7d807af16dbda22f9fa7efa6a8222843"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d807af16dbda22f9fa7efa6a8222843">&#9670;&#160;</a></span>createBatch()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class Element &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static type <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::createBatch </td>
          <td>(</td>
          <td class="paramtype">Element const &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>size</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>creates a batch with input as size blueprint </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00273">273</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a5eab4ea5b33cefa429ba70a9dc852eb5" name="a5eab4ea5b33cefa429ba70a9dc852eb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5eab4ea5b33cefa429ba70a9dc852eb5">&#9670;&#160;</a></span>createBatchFromRange()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class Iterator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static type <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::createBatchFromRange </td>
          <td>(</td>
          <td class="paramtype">Iterator const &amp;&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Iterator const &amp;&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>creates a batch storing the elements referenced by the provided range </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00278">278</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a3340fbee83054604e4198016d971bfd3" name="a3340fbee83054604e4198016d971bfd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3340fbee83054604e4198016d971bfd3">&#9670;&#160;</a></span>end() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a2238b5dc7eb55874595b6b39f8113ebe">iterator</a> <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::end </td>
          <td>(</td>
          <td class="paramtype">type &amp;&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00319">319</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="aba7ec77d468b6f7ace4a4312acab857d" name="aba7ec77d468b6f7ace4a4312acab857d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba7ec77d468b6f7ace4a4312acab857d">&#9670;&#160;</a></span>end() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a11d56a8c9892dc085a4b25de9130e1f4">const_iterator</a> <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::end </td>
          <td>(</td>
          <td class="paramtype">type const &amp;&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00322">322</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a2c3920e1aeac4e38b148f8b9d4aaea3c" name="a2c3920e1aeac4e38b148f8b9d4aaea3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c3920e1aeac4e38b148f8b9d4aaea3c">&#9670;&#160;</a></span>get() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#ab069b3c0404e1bd4b788bca5499d1d75">reference</a> <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::get </td>
          <td>(</td>
          <td class="paramtype">type &amp;&#160;</td>
          <td class="paramname"><em>batch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00305">305</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a3ddf9dbc1210cda59d8e41f8699a9170" name="a3ddf9dbc1210cda59d8e41f8699a9170"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ddf9dbc1210cda59d8e41f8699a9170">&#9670;&#160;</a></span>get() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structshark_1_1_batch_3_01shark_1_1blas_1_1compressed__vector_3_01_t_01_4_01_4.html#a04c9f2152498be58f2dc1aa768959272">const_reference</a> <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::get </td>
          <td>(</td>
          <td class="paramtype">type const &amp;&#160;</td>
          <td class="paramname"><em>batch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00308">308</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<a id="a818fad0d1a5ebeee0dd3d86c98bb21e0" name="a818fad0d1a5ebeee0dd3d86c98bb21e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a818fad0d1a5ebeee0dd3d86c98bb21e0">&#9670;&#160;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::resize </td>
          <td>(</td>
          <td class="paramtype">type &amp;&#160;</td>
          <td class="paramname"><em>batch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>batchSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>elements</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00300">300</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#af2ab10364feb8a631e0866dcf2f1a4ad">shark::batchSize()</a>.</p>

</div>
</div>
<a id="a5908c852091e5f4844e0ed06f359df1a" name="a5908c852091e5f4844e0ed06f359df1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5908c852091e5f4844e0ed06f359df1a">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::size_t <a class="el" href="structshark_1_1_batch.html">shark::Batch</a>&lt; shark::blas::compressed_vector&lt; T &gt; &gt;::size </td>
          <td>(</td>
          <td class="paramtype">type const &amp;&#160;</td>
          <td class="paramname"><em>batch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00304">304</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/shark/Data/<a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
